package pojo;

import java.sql.Timestamp;
import java.util.Date;

//实体类构建
public class Goods {
    private Integer goodsId;
    private Timestamp creatTime;
    private Double goodsPoints;
    private Integer goodsLooks;
    private Integer goodsAsks;

    public Goods() {
    }

    public Goods(Integer goodsId, Timestamp creatTime, Double goodsPoints, Integer goodsLooks, Integer goodsAsks) {
        this.goodsId = goodsId;
        this.creatTime = creatTime;
        this.goodsPoints = goodsPoints;
        this.goodsLooks = goodsLooks;
        this.goodsAsks = goodsAsks;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public Timestamp getCreatTime() {
        return creatTime;
    }

    public Double getGoodsPoints() {
        return goodsPoints;
    }

    public Integer getGoodsLooks() {
        return goodsLooks;
    }

    public Integer getGoodsAsks() {
        return goodsAsks;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public void setCreatTime(Timestamp creatTime) {
        this.creatTime = creatTime;
    }

    public void setGoodsPoints(Double goodsPoints) {
        this.goodsPoints = goodsPoints;
    }

    public void setGoodsLooks(Integer goodsLooks) {
        this.goodsLooks = goodsLooks;
    }

    public void setGoodsAsks(Integer goodsAsks) {
        this.goodsAsks = goodsAsks;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", creatTime=" + creatTime +
                ", goodsPoints=" + goodsPoints +
                ", goodsLooks=" + goodsLooks +
                ", goodsAsks=" + goodsAsks +
                '}';
    }
}
